<!-- Footer -->
	<div class="clearfix"></div>
	<!--<footer>
		<center>
			<p>&copy; 2005-2014 CÔNG TY TNHH THƯƠNG MẠI DỊCH VỤ CÔNG NGHỆ TÂN THÀNH DANH </p>
			<p>224 Lê Văn Thọ P11 Quận Gò Vấp TPHCM </p>
			<p>Tel: 0909805881-0937787881-0917673035 </p>
			<p>E-mail:tanthanhdanhltd@gmail.com </p>
		</center> -->
	</footer>
	<!-- End Footer -->

	<!-- Begin message -->
	<div class="message">
	<div class="row">
		<div class="col-md-12">
			<div class="panel panel-primary">
			<div class="panel-heading">
				<h3 class="panel-title"><a href="#"><i class="fa fa-envelope mr5"></i> Gửi tin nhắn cho tôi <i class="fa fa-chevron-up pull-right"></i></a></h3>  <!-- down -->
			</div>

			<div class="panel-body">
				<?php echo $this->Form->create('Message', array( 'controller' => 'messages', 'action' => 'sendMessage'))?>
					<div class="form-group">
						<?php echo $this->Form->input('fullname', array('label' => false, 'div' => false, 'class' => 'form-control', 'placeholder' => __('Xin mời nhập họ tên')));?>
					</div>

					<div class="form-group">
						<?php echo $this->Form->input('title', array('label' => false, 'div' => false, 'class' => 'form-control', 'placeholder' => __('Xin mời nhập tiêu đề')));?>
					</div>

					<div class="form-group">
						<?php echo $this->Form->input('email', array('label' => false, 'div' => false, 'class' => 'form-control', 'placeholder' => __('Email để chúng tôi liên hệ với bạn')));?>
					</div>

					<div class="form-group">
						<?php echo $this->Form->textarea('content', array( 'label' => false, 'div' => false, 'class' => 'form-control', 'style' => 'min-height:105px; max-width:100%;', 'placeholder' => 'Nội dung tin nhắn' ) )?>
					</div>
					<button type="submit" class="btn btn-primary btn-block">Gửi</button>
				<?php echo $this->Form->end()?>
			</div>
			</div>
		</div>
	</div>
	</div>
	<!-- End message -->

	<script type="text/javascript" src="<?= $this->webroot ?>js/jquery-1.9.1.js"></script>
	<script src="<?= $this->webroot ?>assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

	<!---->
	<script type="text/javascript" src="<?= $this->webroot ?>js/functions.js"></script>
	<script type="text/javascript" src="<?= $this->webroot ?>js/jquery.simplyscroll.js"></script>
	<script type="text/javascript" src="<?= $this->webroot ?>js/user.js"></script>

	<script type="text/javascript">
		$(document).ready(function(e) {
			user.start();
		});
	</script>

	<?php if($controller == 'contacts'):?>
	<!--<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>-->
	<script src="<?= $this->webroot ?>assets/plugins/gmaps/mapAPI.js" type="text/javascript"></script>
	<script src="<?= $this->webroot ?>assets/plugins/gmaps/gmaps.js" type="text/javascript"></script>
	<script type="text/javascript">
		var lat = <?= $map['Map']['lat'];  ?>;
		var lng = <?= $map['Map']['lng']; ?>;
		var address = '<?= $map["Map"]["address"]; ?>';
		$(document).ready(function(e) {
			user.googleMap(lat, lng, address);
		});
	</script>
	<?php endif; ?>